@import "./font.less";

// 增加body权重否则会被iview中样式覆盖
html,
body {
  font-family: @font_normal;
  word-spacing: 1px;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html {
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  // -moz-osx-font-smoothing: grayscale;
  // -webkit-font-smoothing: antialiased;
}

body {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.title {
  font-family: @font_bold;
  letter-spacing: 1.4px;
}


*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input,
button {
  border: none;
  outline: none;
}

button {
  background: none;
  cursor: pointer;
}

img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border: none;
}
.formFooter {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #dfdfdf;
  background-color: #fcfcfc;
  padding: 20px 0;

  .btn {
      border-radius: 5px;
      margin: 0 10px;
  }
}


// .components-input-demo-size .ant-input {
//   width: 200px;
//   margin: 0 8px 8px 0;

// }

// .modal_body {
//   padding: 24px 24px 0;
// }

// .formFooter {
//   display: flex;
//   justify-content: center;
//   align-items: center;
//   border-top: 1px solid #dfdfdf;
//   background-color: #fcfcfc;
//   padding: 20px 0;

//   .btn {
//       border-radius: 5px;
//       margin: 0 10px;
//   }
// }

// .components-input-demo-size {
//   margin: 8px 0px 0px 10px;
//   background-color: white;

//   .conetnt {
//       margin: 0 auto;
//   }

//   div {
//       margin: 10px ;
//   }
// }


h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

[v-cloak] {
  visibility: hidden;
}

.wrap_home,
.wrap {
  font-size: 0;
}


.wrap_home {
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  clear: both;
}

#app {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;

  .root {
    overflow: hidden;
    padding: 10px;
    height: inherit;
  }
}

svg {
  fill: currentColor;
}

.field_w_150,
.filter_input,
.filter_select {
  width: 150px !important;
}

.field_datepicker,
.filter_datepicker {
  width: 235px !important;
}

.field_w_100,
.filter_input_100,
.filter_select_100 {
  width: 100px !important;
}

.field_w_120,
.filter_input_120,
.filter_select_120 {
  width: 120px !important;
}

.field_w_140,
.filter_input_140,
.filter_select_140 {
  width: 120px !important;
}

.field_w_160,
.filter_input_160,
.filter_select_160 {
  width: 160px !important;
}

.field_w_180,
.filter_input_180,
.filter_select_180 {
  width: 180px !important;
}

.field_w_200,
.filter_input_200,
.filter_select_200 {
  width: 200px !important;
}

.field_w_220,
.filter_input_220,
.filter_select_220 {
  width: 220px !important;
}

.field_w_240,
.filter_input_240,
.filter_select_240 {
  width: 240px !important;
}

.ant-table-tbody>tr>td[style*="text-align: right;"] {
  text-align: right !important;
}

.ant-table-header >table >thead>tr>th{
  padding: 12px 0px ;
}

.ant-table-wrapper .ant-table-tbody>tr>td {
  padding: 10px 8px ;
}

.ant-modal-mask {
  width: 100%;
}

.ant-modal-wrap {
  width: 100%;
}

.ant-modal-close {
  right: 17px;
}

.ant-select-arrow {
  right: 11px;
}

.ant-table-row-expand-icon-collapsed::before {
  width: 9.5px;
  transform: rotate(-180deg);
}

.ant-table-row-expand-icon::before {
  right: 2px;
}